package com.itheima.service;

/**
 * @author junmanna
 * @version 1.0
 * @date 2019/11/7 15:56
 */

import com.itheima.entity.PageResult;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/**
 * 检查组的service
 */
public interface CheckGroupService {

    public void add(CheckGroup checkGroup,Integer[] checkitemIds);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void edit(CheckGroup checkGroup, Integer[] checkitemIds);

    List<CheckGroup> findAll();
}
